package cn.jsu.oj.dispatchServer.pojo;

import cn.jsu.oj.dispatchServer.parsing.NoSerialize;
import cn.jsu.oj.dispatchServer.parsing.PackType;

/**
 * @author: suixuexue
 * @date: 2020/11/4 21:12
 * describe:
 *  确认存储信息
 */
@PackType(typeNo = 18)
public class StorageCmdInfo extends AbstractPack {

    @NoSerialize
    private String ip;
    private long serialNumber;

    public StorageCmdInfo() {
    }

    public StorageCmdInfo(String ip, long serialNumber) {
        this.ip = ip;
        this.serialNumber = serialNumber;
    }

    @Override
    public String toString() {
        return "StorageCmdInfo{" +
                "ip='" + ip + '\'' +
                ", serialNumber=" + serialNumber +
                '}';
    }

    public long getSerialNumber() {
        return serialNumber;
    }

    public void setSerialNumber(long serialNumber) {
        this.serialNumber = serialNumber;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }
}
